import { DatePicker } from "antd";
import moment from "moment";
export default (props) => {
  const { value, ...other } = props;
  return (
    <DatePicker value={moment(value)} style={{ width: "100%" }} {...other} />
  );
};
